package Models;

import java.util.List;

public class POSProducts {
    private int id;
    private String description;
    private POSBeerView beer;
    private boolean onTap;
    private List<POSProductServingType> productServingTypes;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public POSBeerView getBeer() {
        return beer;
    }

    public void setBeer(POSBeerView beer) {
        this.beer = beer;
    }

    public boolean isOnTap() {
        return onTap;
    }

    public void setOnTap(boolean onTap) {
        this.onTap = onTap;
    }

    public List<POSProductServingType> getProductServingTypes() {
        return productServingTypes;
    }

    public void setProductServingTypes(List<POSProductServingType> productServingTypes) {
        this.productServingTypes = productServingTypes;
    }
    
    public String getDisplayString(){
        return Integer.toString(this.id) + " - " + this.description;
    }
}
